package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.CategoryDTO;
import com.leyou.item.entity.Category;

import java.util.List;

/**
 * @author ShenMin
 * @date 2021/7/14 17:27
 * @description
 */
public interface CategoryService extends IService<Category> {
    String queryCategoryNamesById(Long cid1,Long cid2,Long cid3);

    List<CategoryDTO> listCategoryById(Long id);

    List<CategoryDTO> listCategoryByBid(Long bid);

    List<CategoryDTO> listCategoryByPid(Long pid);

    List<CategoryDTO> listCategoryByIds(List<Long> ids);
}
